package com.learn.adapter.class_adapter;

import lombok.extern.slf4j.Slf4j;

/**
 * <p>项目名称: design-pattern </p>
 *
 * <p>文件名称: Adapter </p>
 *
 * <p>描述: 适配器 </p>
 */
@Slf4j
public class Adapter extends Adaptee implements Target {

    @Override
    public void work() {
        log.info("operation_work 适配 work");
        operation_work();
    }

    @Override
    public void talk() {
        log.info("operation_talk 适配 talk");
        operation_talk();
    }
}
